package com.ms.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动spring的config
 * @author yuejing
 * @date 2017年2月16日 下午6:20:15
 */
@EnableEurekaClient
@ComponentScan("com.*")
@EnableTransactionManagement(order = 2)
@SpringBootApplication
public class MsCloudGatewayApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(MsCloudGatewayApplication.class, args);
	}

}
